<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>NC_EOS</title>
    <meta charset="utf-8">
    <link rel="icon" href="/static/favicon.ico" sizes="32*32">
    <link rel="stylesheet" type="text/css" href="/static/moYushow/sass/G2P.css" />
    <script src="/static/moYushow/js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
<!--    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>-->
    <script src="/static/moYushow/js/MoYu.js" type="text/javascript"></script>


</head>


<body class="bodys">
    <h4>
        <a href="/logout">退出登录</a>
        <a href="/index" style="left: 10%; position: absolute">首页</a>
    </h4>
    <div id="ylm" class="border"></div>
    <div id="mm" class="border"></div>
    <div id="sc" class="border"></div>
    <div id="snm" class="border"></div>

    <script type="text/javascript ">
        /**
         *
         */

        // xt - 变量 - 5个值
        // ylm - wll - {status ll hh g2 dis}

        $(document).ready(function() {
            localStorage.clear()
            $.get("/MoYu/MoYuShow ", function(data, status) {
                var item = "[[${item}]]"
                var xt_dic = "[[${dict}]]"
                xtr = xt_dic.replace(new RegExp('&quot;', "gm"), '"')
                var xtjson = eval('(' + xtr + ')');
                create(item, xtjson)
            })
            $.get("/MoYu/update ", function(data, status) {
                var xt_dic = data["item"]["dict"]
                var vo = data["item"]["vo"]
                console.log(data)
                changeval(vo, xt_dic)
            })
        })
        setInterval(function() {
            localStorage.clear()

            $.get("/MoYu/update ", function(data, status) {
                var xt_dic = data["item"]["dict"]
                var vo = data["item"]["vo"]
                changeval(vo, xt_dic)
            })

        }, 11000)
    </script>
</body>

</html>